package com.org.devg.monitor.client.model;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "devg.monitor")
public class MonitorClientConfig {

    private String serverConfigUrl;

    private String[] monitorNonClassMethod;

    // 是否开启controller
    private Boolean enableMonitorController;
    // 是否开启service监控
    private Boolean enableMonitorService;
    // 是否开启mapper监控
    private Boolean enableMonitorMapper;

    private String requestParams;

    private String modelName;

    private String evnName;


    public String getServerConfigUrl() {
        return serverConfigUrl;
    }

    public void setServerConfigUrl(String serverConfigUrl) {
        this.serverConfigUrl = serverConfigUrl;
    }

    public String[] getMonitorNonClassMethod() {
        return monitorNonClassMethod;
    }

    public void setMonitorNonClassMethod(String[] monitorNonClassMethod) {
        this.monitorNonClassMethod = monitorNonClassMethod;
    }

    public Boolean getEnableMonitorController() {
        return enableMonitorController;
    }

    public void setEnableMonitorController(Boolean enableMonitorController) {
        this.enableMonitorController = enableMonitorController;
    }

    public Boolean getEnableMonitorService() {
        return enableMonitorService;
    }

    public void setEnableMonitorService(Boolean enableMonitorService) {
        this.enableMonitorService = enableMonitorService;
    }

    public Boolean getEnableMonitorMapper() {
        return enableMonitorMapper;
    }

    public void setEnableMonitorMapper(Boolean enableMonitorMapper) {
        this.enableMonitorMapper = enableMonitorMapper;
    }

    public String getRequestParams() {
        return requestParams;
    }

    public void setRequestParams(String requestParams) {
        this.requestParams = requestParams;
    }


    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getEvnName() {
        return evnName;
    }

    public void setEvnName(String evnName) {
        this.evnName = evnName;
    }

}
